<%@ page contentType="text/html; charset=GBK"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>DEMO</title>



		<link rel="stylesheet" type="text/css" href="css/xtree.css">

		<script type="text/javascript" src="js/modello.js"></script>
		<script type="text/javascript" src="js/xtree.js"></script>
		<script type="text/javascript" src="js/UtilsTree.js"></script>
		<script type="text/javascript" src="com/IDE/Properties.js"></script>
		<script type="text/javascript" src="com/IDE/System.js"></script>
		<script type="text/javascript" src="com/XmlDataSet/XmlDataSet.js"></script>

	</head>

	<body>
		<div id="demo"></div><div id="data"></div>
		<button onclick="reload()">reload</button>
		
		
		<script type="text/javascript">
   var demo = document.getElementById("demo");
    var newTree = new UtilsTree();
    newTree.xmlToTree("xml/DocTemplate.xml",demo);
   reload = function(){
    var newTre = new UtilsTree();
    newTre.xmlToTree("xml/template.xml",document.getElementById("demo"));
     
   }
   
    </script>
    
	</body>
</html>
